layui.config({
	base : "js/"
}).use(['form','layer','jquery','laypage'],function(){
	var form = layui.form(),
		layer = parent.layer === undefined ? layui.layer : parent.layer,
		laypage = layui.laypage,
		$ = layui.jquery;

	

	//添加友情链接
	$(".linksAdd_btn").click(function(){
		layui.layer.open({
			title : "添加房间",
			type : 2,
			content : "/admin/room/create",
			 area: ['90em', '50em'],
			 
			success : function(layero, index){
				// layui.layer.tips('点击此处返回文章列表', '.layui-layer-setwin .layui-layer-close', {
				// 	tips: 3
				// });
				} 
			})
	
	})

});


